<?php htmlTemplate('index/header.tpl.php')?>
<script type="text/javascript">
function save(){
	var url = '<?php echo MVC_WWW_HOST?>user/saveuserinfo';
	var email = $.trim($("#email").val());
	var phone = $.trim($("#phone").val());
	var pwd = $.trim($("#pwd").val());
	var username = $.trim($("#username").val());
	var name = $.trim($("#name").val());
	var code = $.trim($("#code").val());
	var checkcode = $.trim($("#checkcode").val());
    $.post(url,{'email':email,'phone':phone,'pwd':pwd,'username':username, 'name':name,'code':code,'checkcode':checkcode},function(rs){
        $("#msginfo").html(rs);        
    })
}
</script>
<?php htmlTemplate('index/userleft.tpl.php')?>
        <div style="" class="lrtab">    
        <a href="<?php echo MVC_WWW_HOST?>user/exchange" <?php if (Http::get('do')=='') {echo 'class="lrtabon"';}?> style="border-left: solid 1px #DFDFDF" >积分兑换奖品</a>
        <a href="<?php echo MVC_WWW_HOST?>user/exchange/do/cash" <?php if (Http::get('do')=='cash') {echo 'class="lrtabon"';}?> >积分兑换现金</a>
        <a href="<?php echo MVC_WWW_HOST?>user/exchange/do/list" <?php if (Http::get('do')=='list') {echo 'class="lrtabon"';}?> >我的兑换记录</a>
        </div>
        <div class="clear"></div>
        <div style="padding-top:10px;width:100%;background: #f3f3f3;padding-bottom:10px;text-align: center;"><span style="font-size: 14px;font-weight:bold;">兑换现金说明，每月20日~31日申请兑换，次月1日~3日到账，如果您还没设置银行帐号，<a href="#">立即设置</a></span></div>
        <div>
            <table class="exc_tb">
                <tr>
                    <td>
                    <a href="#"><img alt="" src="<?php echo MVC_WWW_HOST?>upload/images/cp.jpg"></a><br>
                    <span>现金5000元，兑换价550000积分</span><br><a href="#">立即兑换</a>                   
                    </td>
                    <td>
                    <a href="#"><img alt="" src="<?php echo MVC_WWW_HOST?>upload/images/cp.jpg"></a><br>
                    <span>现金3000元，兑换价330000积分</span><br><a href="#">立即兑换</a>                   
                    </td>
                    <td>
                    <a href="#"><img alt="" src="<?php echo MVC_WWW_HOST?>upload/images/cp.jpg"></a><br>
                    <span>现金1000元，兑换价110000积分</span><br><a href="#">立即兑换</a>           
                    </td>                  
                </tr>
                <tr>
                    <td>
                    <a href="#"><img alt="" src="<?php echo MVC_WWW_HOST?>upload/images/cp.jpg"></a><br>
                    <span>现金500元，兑换价55000积分</span><br><a href="#">立即兑换</a>                   
                    </td>
                    <td>
                    <a href="#"><img alt="" src="<?php echo MVC_WWW_HOST?>upload/images/cp.jpg"></a><br>
                    <span>现金100元，兑换价12000积分</span><br><a href="#">立即兑换</a>                   
                    </td>
                    <td>
                    <a href="#"><img alt="" src="<?php echo MVC_WWW_HOST?>upload/images/cp.jpg"></a><br>
                    <span>现金50元，兑换价6500积分</span><br><a href="#">立即兑换</a>           
                    </td>                  
                </tr>
            </table>
        </div>
<?php htmlTemplate('index/userfooter.tpl.php')?>
<?php htmlTemplate('index/footer.tpl.php')?>